SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 49185: SURFACE_VALUE function returns missing values when it should not

DetailsAboutRate It

In SAS® Risk Dimensions®, the SURFACE_VALUE function can return missing values when it should not. The problem occurs with 2-dimensional surfaces for which the EXTRAPOLATE=CONSTANT option is specified. If the coordinates in the SURFACE_VALUE call necessitate an extrapolation from a risk factor coordinate, the function returns a missing value.

For example, consider this specification in a PROC RISK step.

declare riskfactors = ( rf1_1 num var coordinates=(dim1=1 dim2=1), rf2_1 num var coordinates=(dim1=2 dim2=1), rf1_2 num var coordinates=(dim1=1 dim2=2), rf2_2 num var coordinates=(dim1=2 dim2=2), rf1_3 num var coordinates=(dim1=1 dim2=3), rf2_3 num var coordinates=(dim1=2 dim2=3)); array a surface elements=(rf1_1 rf2_1 rf1_2 rf2_2 rf1_3 rf2_3) extrapolate=constant;
The call
b = surface_value( a, 0, 2 );
should always return the value of rf1_2. Instead, it currently returns missing. More generally, the call
b = surface_value( a, x, 2 );
returns missing for every value of x<1 and x>2. If the second coordinate (that is, the third argument) were not 2, the value returned by SURFACE_VALUE would be correct.

There is no workaround.

Note: For details about the syntax and function of the SURFACE_VALUE function, see "The COMPILE Procedure" documentation that is in the SAS® Risk Dimensions® Procedures Guide.

Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk Dimensions Enterprise EditionMicrosoft® Windows® for x645.56.19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition5.56.19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition5.56.19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Standard Edition5.56.19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 for x645.56.19.3 TS1M29.4 TS1M0
Microsoft Windows Server 20085.56.19.3 TS1M29.4 TS1M0
Microsoft Windows Server 2008 for x645.56.19.3 TS1M29.4 TS1M0
Microsoft Windows XP Professional5.56.19.3 TS1M29.4 TS1M0
Windows 7 Enterprise 32 bit5.56.19.3 TS1M29.4 TS1M0
Windows 7 Enterprise x645.56.19.3 TS1M29.4 TS1M0
Windows 7 Home Premium 32 bit5.56.19.3 TS1M29.4 TS1M0
Windows 7 Home Premium x645.56.19.3 TS1M29.4 TS1M0
Windows 7 Professional 32 bit5.56.19.3 TS1M29.4 TS1M0
Windows 7 Professional x645.56.19.3 TS1M29.4 TS1M0
Windows 7 Ultimate 32 bit5.56.19.3 TS1M29.4 TS1M0
Windows 7 Ultimate x645.56.19.3 TS1M29.4 TS1M0
Windows Vista5.56.19.3 TS1M29.4 TS1M0
Windows Vista for x645.56.19.3 TS1M29.4 TS1M0
64-bit Enabled AIX5.56.19.3 TS1M29.4 TS1M0
64-bit Enabled HP-UX5.56.19.3 TS1M29.4 TS1M0
64-bit Enabled Solaris5.56.19.3 TS1M29.4 TS1M0
HP-UX IPF5.56.19.3 TS1M29.4 TS1M0
Linux5.56.19.3 TS1M29.4 TS1M0
Linux for x645.56.19.3 TS1M29.4 TS1M0
Solaris for x645.56.19.3 TS1M29.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.